package io.renren.bean;

import java.util.List;

/**
 * 
 * 处理练习题目
 * 
 * ClassName: ExercisesQuestionInfo
 * 
 * @Description: TODO
 * @author yzw
 * @date 2017年8月1日
 */
public class ExercisesQuestionInfo {

	private Integer sumQuestionNumber; // 当前科目的(顺序练习、随机练习、错题练习)总题数
	private Integer answerNumber; // 当前已答题数量
	private Integer exercisesType; // 练习类型，1表示顺序练习；2表示随机练习；3表示错题练习
	private QuestionInfo questionInfo; // 题目信息
	private List<MenuSortInfo> menuSortInfoList; // 菜单序号list

	public QuestionInfo getQuestionInfo() {
		return questionInfo;
	}

	public void setQuestionInfo(QuestionInfo questionInfo) {
		this.questionInfo = questionInfo;
	}

	public List<MenuSortInfo> getMenuSortInfoList() {
		return menuSortInfoList;
	}

	public void setMenuSortInfoList(List<MenuSortInfo> menuSortInfoList) {
		this.menuSortInfoList = menuSortInfoList;
	}

	public Integer getSumQuestionNumber() {
		return sumQuestionNumber;
	}

	public void setSumQuestionNumber(Integer sumQuestionNumber) {
		this.sumQuestionNumber = sumQuestionNumber;
	}

	public Integer getAnswerNumber() {
		return answerNumber;
	}

	public void setAnswerNumber(Integer answerNumber) {
		this.answerNumber = answerNumber;
	}

	public Integer getExercisesType() {
		return exercisesType;
	}

	public void setExercisesType(Integer exercisesType) {
		this.exercisesType = exercisesType;
	}

	public class MenuSortInfo {
		private Integer menuSort; // 菜单序号
		private Integer state; // 状态，1表示未做；2表示做对；3表示做错；

		public Integer getMenuSort() {
			return menuSort;
		}

		public void setMenuSort(Integer menuSort) {
			this.menuSort = menuSort;
		}

		public Integer getState() {
			return state;
		}

		public void setState(Integer state) {
			this.state = state;
		}

	}

	public class QuestionInfo {
		private Integer sort; // 当前题号
		private Integer questionId; // 题目id
		private Integer optionType;// 选项类型；1表示单选，2表示多选，3表示判断
		private Integer questionType;// 题目类型；1代表普通题目（题目和选项都没有图片）；2代表仅仅题目有图片；3代表仅仅选项有图片；4代表题目有视频
		private String questionContent;// 题目内容
		private String questionImageUrl;// 题目图片地址
		private String questionVideoUrl;// 题目视频地址
		private Boolean isCollection; // true表示已收藏，false表示未收藏
		private Boolean isSubmit;// true表示已提交当前题目，false表示未提交当前题目（顺序练习才有）
		private Boolean isTrue; // 正确状态，true表示正确，false表示错误（顺序练习才有）
		private String studentAnswer; // 学员答案（顺序练习才有）
		private String trueAnswer;// 正确答案
		private String remark; // 备注（可以是对该题目的解释）
		private List<OptionInfo> optionInfoList; // 选项list

		public Integer getSort() {
			return sort;
		}

		public void setSort(Integer sort) {
			this.sort = sort;
		}

		public Integer getQuestionId() {
			return questionId;
		}

		public void setQuestionId(Integer questionId) {
			this.questionId = questionId;
		}

		public Integer getOptionType() {
			return optionType;
		}

		public void setOptionType(Integer optionType) {
			this.optionType = optionType;
		}

		public Integer getQuestionType() {
			return questionType;
		}

		public void setQuestionType(Integer questionType) {
			this.questionType = questionType;
		}

		public String getQuestionContent() {
			return questionContent;
		}

		public void setQuestionContent(String questionContent) {
			this.questionContent = questionContent;
		}

		public String getQuestionImageUrl() {
			return questionImageUrl;
		}

		public void setQuestionImageUrl(String questionImageUrl) {
			this.questionImageUrl = questionImageUrl;
		}

		public String getQuestionVideoUrl() {
			return questionVideoUrl;
		}

		public void setQuestionVideoUrl(String questionVideoUrl) {
			this.questionVideoUrl = questionVideoUrl;
		}

		public Boolean getIsCollection() {
			return isCollection;
		}

		public void setIsCollection(Boolean isCollection) {
			this.isCollection = isCollection;
		}

		public Boolean getIsSubmit() {
			return isSubmit;
		}

		public void setIsSubmit(Boolean isSubmit) {
			this.isSubmit = isSubmit;
		}

		public Boolean getIsTrue() {
			return isTrue;
		}

		public void setIsTrue(Boolean isTrue) {
			this.isTrue = isTrue;
		}

		public String getStudentAnswer() {
			return studentAnswer;
		}

		public void setStudentAnswer(String studentAnswer) {
			this.studentAnswer = studentAnswer;
		}

		public String getTrueAnswer() {
			return trueAnswer;
		}

		public void setTrueAnswer(String trueAnswer) {
			this.trueAnswer = trueAnswer;
		}

		public String getRemark() {
			return remark;
		}

		public void setRemark(String remark) {
			this.remark = remark;
		}

		public List<OptionInfo> getOptionInfoList() {
			return optionInfoList;
		}

		public void setOptionInfoList(
				List<OptionInfo> optionInfoList) {
			this.optionInfoList = optionInfoList;
		}

		public class OptionInfo {
			private String optionLetter; // 选项字母
			private String optionContent; // 选项内容
			private String optionImageUrl; // 选项图片

			public String getOptionLetter() {
				return optionLetter;
			}

			public void setOptionLetter(String optionLetter) {
				this.optionLetter = optionLetter;
			}

			public String getOptionContent() {
				return optionContent;
			}

			public void setOptionContent(String optionContent) {
				this.optionContent = optionContent;
			}

			public String getOptionImageUrl() {
				return optionImageUrl;
			}

			public void setOptionImageUrl(String optionImageUrl) {
				this.optionImageUrl = optionImageUrl;
			}

		}
	}
}
